package com.ruoyi.mq.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author jierui
 * @package com.ruoyi.mq.config
 * @date 2021/7/2-10:01
 * @description:
 */
@Configuration
@ConfigurationProperties(prefix = "rabbit", ignoreUnknownFields = true)
public class RabbitProperties {
   private String host;
   private String username;
   private String password;
   private String vhosts;

   public String getHost() {
      return host;
   }

   public void setHost(String host) {
      this.host = host;
   }

   public String getUsername() {
      return username;
   }

   public void setUsername(String username) {
      this.username = username;
   }

   public String getPassword() {
      return password;
   }

   public void setPassword(String password) {
      this.password = password;
   }

   public String getVhosts() {
      return vhosts;
   }

   public void setVhosts(String vhosts) {
      this.vhosts = vhosts;
   }
}
